<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="fm" uri="http://www.springframework.org/tags/form"%>
<%@include file="/jsp/common/head.jsp"%>
<div class="right">
	<div class="location">
		<strong>你现在所在的位置是:</strong> <span>用户管理页面 >>用户添加页面</span>
	</div>
	<div class="search">
		<fm:form method="post" modelAttribute="user">
			<fm:errors path="userCode" />
			<br />
  			用户编码：<fm:input path="userCode" />
			<br />
			<fm:errors path="userName" />
			<br />
  			用户名称：<fm:input path="userName" />
			<br />
			<fm:errors path="userPassword" />
			<br />
  			用户密码：<fm:password path="userPassword" />
			<br />
			<fm:errors path="birthday" />
			<br />
  			用户生日：<fm:input path="birthday" Class="Wdate" readonly="readonly"
				onclick="WdatePicker();" />
			<br />
  			用户地址：<fm:input path="address" />
			<br />
  			联系电话：<fm:input path="phone" />
			<br />
  			用户角色：
  			<fm:radiobutton path="userRole" value="1" />系统管理员
  			<fm:radiobutton path="userRole" value="2" />经理
  			<fm:radiobutton path="userRole" value="3" checked="checked" />普通用户<br />
			<input type="submit" value="保存">
		</fm:form>
	</div>
</div>
<%@include file="/jsp/common/foot.jsp"%>
<script type="text/javascript"
	src="${pageContext.request.contextPath }/statics/js/useradd.js"></script>